package rlex.classes.program;


/*
 * var ID : type;
 */
public class VariableDeclaration {
	private String name;
	private String type;

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	public String toString() {
		return name + ":" + type;
	}
	
	public void display() {
		System.out.print(name + " : " + type);
	}
}
